package entity

type AuthorInfo struct {
	// 作者名称
	Author string
	// 文件描述
	Describe string
	// 邮箱
	Email string
}

type TipDictionary struct {
	// 提示
	Seq      string
	Tip      string
	Describe string
}

type Dictionary struct {
	Seq      string
	Dict     string
	ItemList []DictItem
}

type DictItem struct {
	Key   string
	Value string
}

type ConfigInfo struct {
	AuthorInfo    AuthorInfo
	TipDictionary []TipDictionary
	Dictionary    []Dictionary
	HeadInfo      []HeadInfo
}

type HeadInfo struct {
	Pattern  string
	BaseInfo map[string]string
	Data     []FieldInfo
}

type FieldInfo struct {
	Seq       string
	FieldType string
	Length    int
	Points    int
	Name      string
	Value     string
}
